#pragma once
#include "hiThread.h"
#include "videoOption.h"

class FfmpegThreadProxy {
  public:
    FfmpegThreadProxy() {}

  public:
    bool start(VideoOption &option);
    void stop();

  public:
    void run();
    void monitor();

  private:
    VideoOption *video_option;
    HiThread thread;
    HiThread monitor_thread;
};